package com.cos.shop.common;

/**
 * @author: COS
 * @time: 2022/2/23 14:31
 * @description: 常量接口
 */
public interface Const {
    //转发标识
    String FORWARD = "forward:";
    //重定向标识
    String REDIRECT = "redirect:";
    //请求失败标识
    String FAIL = "0";
    //请求成功标识
    String SUCCESS = "1";
    //账户激活标识
    int IS_ACTIVE = 1;
    //账户未激活标识
    int NOT_ACTIVE = 0;
    //验证码标识
    String VALI_DATA_CODE = "vali_data_code";
    //登录用户标识
    String IS_LOGIN = "is_login";
    //自动登录标识
    String AUTO_LOGIN = "auto_login";
    //默认地址标识
    int DEFAULT_ADDRESS = 1;
    int NOT_DEFAULT_ADDRESS = 0;
    /**
     *
     * @author: COS
     * @return:
     * @time: 2022/2/25 10:32
     * @description: 订单常量
     */
    interface Order{
        //未付款
        int NOT_PAY = 0;
        //已经付款未发货
        int IS_PAY = 1;
        //发货待收货
        int IS_SEND = 2;
        //收货待评价
        int NO_COMMENT = 3;
        //订单完成
        int FINISH = 4;
        //退货状态
        int RETRUEN = 5;
    }

}
